.layout-home-wrap {
  width: 100%;
  height: 100%;
}
.max-warp {
  background-color: #f5f5f5;
  width: 100%;
  .layout-main {
    background-color: #fff;
    width: 100%;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 222;
    .home-logo {
      position: relative;
      width: 1240px;
      margin: 0 auto;
      background-color: #fff;
      display: flex;
      justify-content: space-around;
      
      .left {
        width: 200px;
        height: 132px;
        text-align: center;

        img:hover {
          cursor: pointer;
        }

        img {
          width: 223px;
          height: 99px;
          vertical-align: middle;
        }
      }
    }

    .fixed{
         position: fixed;
         top: 0;
         transition: all .3s linear;
         opacity: 0;
         transform: translateY(-100%);
         &.show{
           opacity: 1;
         transform: translateY(100%);

         }
    }
    .middle {
      display: flex;
      align-items: center;
    
      a {
        margin-right: 40px;
        display: inline-block;
        height: 80px;
        margin-top: 40px;
        height: 26px;
        margin-left: 10px;
        &:hover {
          cursor: pointer;
          color: #27bb9a;
        } 
        &:hover .mask {
          transform: scaleY(1);
          transition: .2s ease-out;
          opacity: 1;
        }
        .mask {
          background: #fff;
          box-shadow: 0 0 10px #ccc;
          width: 1240px;
          height: 150px;
          position: absolute;
          top: 100px;
          left: 0;
          transform: scaleY(0);
          transform-origin: top;
          opacity: 0;
          display: flex;
          align-items: flex-start;  
          padding-left: 80px;
          z-index: 2222;
          img{
            width: 60px;
            margin-top: -10px;
            height: 60px;
          }
        }
      }
    }

    .right {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 32px;
      .search {
        float: left;
        position: relative;
        border-bottom: 1px solid #e7e7e7;

        .fangda {
          width: 21px;
          height: 21px;
          position: absolute;
          left: 0;
          top: 2px;
        }
      }

      .rights {
        float: right;
        position: relative;
        margin-left: 10px;

        span {
          position: absolute;
          top: -6px;
          right: -21px;
          background-color: #e26237;
          color: #fff;
          width: 24px;
          height: 15px;
          font-size: 14px;
          text-align: center;
          line-height: 15px;
          border-radius: 7px 7px 7px 9px;
        }
      }

      input {
        border: none;
        padding-left: 30px;
        width: 160px;
      }

      .shopcar {
        float: right;
        width: 22px;
        height: 22px;
      }
    }
  }
}

.layout-footer {
  margin-top: 50px;
}

.content {
  // border: 1px solid red;
  margin-bottom: 40px;
  height: calc(100% - 805px);
}